<?php

/* @var $this yii\web\View */

$this->title = '系统信息';
$this->params['breadcrumbs'][] = '系统信息';
Yii::$app->db->open();
?>
<div class="index-index">

        <header class="panel-heading">系统信息</header>
        <div class="panel-body">
        <table class="table table-bordered table-hover">
            <tbody>
            <tr>
                <td>下载地址</td>
                <td><a href="<?=$system['downUrl'] ;?>">点击下载</a></td>
            </tr>
            <tr>
                <td>Yii版本</td>
                <td><?=$system['yiiVersion'];?></td>
            </tr>
            <tr>
                <td>操作系统</td>
                <td><?=$system['os'];?></td>
            </tr>
            <tr>
                <td>PHP版本</td>
                <td><?=$system['phpVersion'];?></td>
            </tr>
            <tr>
                <td>PHP运行环境</td>
                <td><?=$system['runEnv'];?></td>
            </tr>
            <tr>
                <td>PHP运行方式</td>
                <td><?=$system['runType'];?></td>
            </tr>
            <tr>
                <td>MySQL版本</td>
                <td><?=Yii::$app->db->pdo->getAttribute(PDO::ATTR_SERVER_VERSION);?></td>
            </tr>
            <tr>
                <td>上传附件限制</td>
                <td><?=$system['uploadMaxFilesize'];?></td>
            </tr>
            <tr>
                <td>执行时间限制</td>
                <td><?=$system['maxExecutionTime'];?>秒</td>
            </tr>

            </tbody>
        </table>
        </div>
        <div class="panel-heading">开发团队</div>
        <div class="panel-body">
        <table class="table table-bordered table-hover">
            <tbody>
                <tr>
                    <td>版权所有</td>
                    <td><?=$team['copyright'];?></td>
                </tr>
                <tr>
                    <td>负责人</td>
                    <td><?=$team['author'];?></td>
                </tr>
                <tr>
                    <td>GitHub</td>
                    <td><a href="<?=$team['gitHub'];?>">GitHub</a></td>
                </tr>
                <tr>
                    <td>联系QQ</td>
                    <td><?=$team['qq'];?></td>
                </tr>
            </tbody>
        </table>
        </div>

</div>
